derby had failed to win any of their previous seven games .
goals from chris martin and darren bent lift them up to fifth .
wigan now eight points from safety with just five games left .